package org.logistics;

import android.annotation.SuppressLint;
import android.content.Context;
import android.graphics.drawable.Drawable;
import android.widget.Toast;

import com.baidu.mapapi.map.ItemizedOverlay;
import com.baidu.mapapi.map.MapView;
import com.baidu.mapapi.map.OverlayItem;
import com.baidu.platform.comapi.basestruct.GeoPoint;

/**
 * 
 * @author yimou
 * 物理图层类
 *
 */
public class OverLayClass extends ItemizedOverlay<OverlayItem> {
	
	public OverLayClass(Drawable mark, MapView mapView) {
		super(mark, mapView);
	}

	protected boolean onTap(int index) {  
			return true ;
    }  
        public boolean onTap(GeoPoint pt, MapView mapView){  
                //在此处理MapView的点击事件，当返回 true时  
                super.onTap(pt,mapView);  
                return false;  
        }  
}
